//C09:9.5:proto.c
#include <stdio.h>
int imax(int, int);
int main(void)
{
    printf("The maximum of %d and %d is %d.\n",
            3, 5, imax(3));
    printf("The maximum of %d and %d is %d.\n",
            3, 5, imax(3.0, 5.0));
}

int imax(int n, int m)
{
    int max;
    if(n > m)
    {
        max = n;
    }
    else
    {
        max = m;
    }
    return max;
}

